package com.test.qpbgboot.user.service;

import com.test.qpbgboot.user.pojo.dto.AccountLogQuery;
import com.test.qpbgboot.user.pojo.dto.AccountRechargeParam;
import com.test.qpbgboot.user.pojo.entity.PersonalAccountLog;
import com.test.qpbgboot.user.pojo.vo.PersonalAccountLogVO;
import com.test.qpbgboot.user.pojo.vo.PersonalAccountVO;

import javax.validation.Valid;
import java.util.List;
import java.util.Map;

public interface AccountService {
    List<PersonalAccountLogVO> accountLogSelect(AccountLogQuery accountLogQuery);

    PersonalAccountVO accountSelectByUserId(Long userId);

    String accountRecharge(@Valid AccountRechargeParam accountRechargeParam);

    void accountRechargeNotify(Map<String, String> params);

    void accountTransactionRecord(PersonalAccountLog personalAccountLog);
}
